package com.fuhao.orderservice.failback;


import com.fuhao.orderservice.service.OrderClient;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class OrderClientFallback implements OrderClient {
    @Override
    public Map<String, Object> findById(Integer id) {
        System.out.println("Feign 调用product-service 异常");
        return null;
    }
}
